Actigraphy to measure sleep duration and efficiency